package com.um.jdy.platform.shop.entity.dto;

import com.um.springboot.starter.orm.params.PageDTO;
import com.um.springboot.starter.orm.params.PageParams;
import lombok.Data;

@Data
public class OrderCommentPageDTO extends PageDTO {

    protected String nickname;

    protected String status;

    protected String content;

    @Override
    public PageParams toPageParams() {
        PageParams pageParams = toPageParams(
                new String[]{"status", "content","nickname"},
                new String[]{"t.status", "t.content","u.nickname"});
        return  pageParams;
    }
}
